<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>boostranp补充</title>
    <link rel="stylesheet" href="/css/bootstrap.min.css">
    <style>
        /* .container .row{
            width: 100%;
            height: 100%;
        } */
        /* img {
            width: 300px;
            height: 200px;
        } */
        [class^="col"] {
            border: black 1px solid;
            background-color: cadetblue;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="row">
            <!-- 这里的栅格分为12份，md xs lg后边是所占的份数，可以设置小屏和大屏 中屏不同分割方式 -->
            <div class="col-md-1 col-sm-4 col-xs-12">.col-md-1</div>
            <div class="col-md-1 col-sm-4 col-xs-12">.col-md-1</div>
            <div class="col-md-1 col-sm-4 col-xs-12">.col-md-1</div>
            <div class="col-md-1 col-sm-4 col-xs-12">.col-md-1</div>
            <div class="col-md-1 col-sm-4 col-xs-12">.col-md-1</div>
            <div class="col-md-1 col-sm-4 col-xs-12">.col-md-1</div>
            <div class="col-md-1 col-sm-4 col-xs-12">.col-md-1</div>
            <div class="col-md-1 col-sm-4 col-xs-12">.col-md-1</div>
            <div class="col-md-1 col-sm-4 col-xs-12">.col-md-1</div>
            <div class="col-md-1 col-sm-4 col-xs-12">.col-md-1</div>
            <div class="col-md-1 col-sm-4 col-xs-12">.col-md-1</div>
            <div class="col-md-1 col-sm-4 col-xs-12">.col-md-1</div>
        </div>

        <div class="row">
            <div class="col-md-4">
                <!-- 在第一个列下边划分两份，记得单独div个row  否则padding太大，不美观 -->
                <div class="row">
                    <div class="col-md-6">a</div>
                    <div class="col-md-6">b</div>
                </div>
            </div>
            <div class="col-md-4">.col-md-4</div>
            <div class="col-md-4">.col-md-4</div>
        </div>
        <div class="row">
            <div class="col-md-4">.col-md-4</div>
            <div class="col-md-4 col-md-offset-4">.col-md-4 .col-md-offset-4</div>
        </div>
        <div class="row">
            <div class="col-md-6 col-md-offset-3">.col-md-6 .col-md-offset-3</div>
        </div>

        <div class="row">
            <div class="col-md-6 hidden-sm">3</div>
            <div class="col-md-6">4</div>
        </div>
    </div>


    <script src="/script/jquery.min.js"></script>
    <script src="/script/bootstrap.min.js"></script>
</body>

</html>